Platform Explorer / Nuxeo Platform 2021.7

Component org.nuxeo.ecm.platform.routing.layouts.webapp

Requirements

Resolution Order

737
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.routing.layouts.webapp">
  <require>org.nuxeo.ecm.platform.forms.layouts.webapp.summary</require>
  <require>org.nuxeo.ecm.platform.forms.layouts.webapp.base</require>
  <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
    point="widgettypes">

    <widgetType name="summary_current_route_action">
      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/summary/summary_current_route_action.xhtml
      </property>
    </widgetType>
    <widgetType name="summary_current_route_actions_lock">
      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/summary/summary_actions_lock_route_widget_template.xhtml
      </property>
    </widgetType>
    <widgetType name="summary_document_route_action">
      <configuration>
        <sinceVersion>1.8</sinceVersion>
        <title>Related route summary</title>
        <description>
          This widgets allows to view/start a route related
          to the current Case.
        </description>
        <categories>
          <!-- deprecated summary => remove from this category -->
          <!-- <category>summary</category> -->
          <category>cmf</category>
        </categories>
        <supportedModes>
          <mode>view</mode>
          <mode>edit</mode>
        </supportedModes>
        <!-- no configurable properties -->
      </configuration>
      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/summary/summary_document_route_action.xhtml
      </property>
    </widgetType>
  </extension>

  <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
    point="widgets">
    <widget name="summary_current_route_action" type="summary_current_route_action" />
    <widget name="summary_document_route_action" type="summary_document_route_action" />
    <widget name="summary_current_route_actions_lock" type="summary_current_route_actions_lock" />

    <widget name="participatingDocuments" type="template">
      <labels>
        <label mode="any">label.document.routing.participatingDocuments
        </label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>docri:participatingDocuments</field>
      </fields>
      <properties mode="any">
        <property name="template">
          /document_routing_widgets/document_suggestion_widget_template.xhtml
        </property>
      </properties>
      <properties widgetMode="edit">
        <property name="cssStyleClass">dataInputText</property>
      </properties>
    </widget>

    <!--since 5.9.2, use only routes of type 'graph'  -->
    <widget name="execution_type" type="selectOneDirectory">
      <fields>
        <field>stepf:execution</field>
      </fields>
      <labels>
        <label mode="any">label.step.folder.execution.type</label>
      </labels>
      <translated>true</translated>
      <properties widgetMode="edit">
        <property name="required">true</property>
      </properties>
      <properties widgetMode="any">
        <property name="directoryName">execution_type</property>
        <property name="localize">true</property>
      </properties>
    </widget>

    <widget name="document_related_route" type="template">
      <labels>
        <label mode="any">label.document.routing.related.route</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>relatedRouteModelDocumentId</field>
      </fields>
      <properties mode="any">
        <property name="template">
          /document_routing_widgets/routing_combobox_widget_template.xhtml
        </property>
      </properties>
      <properties widgetMode="edit">
        <property name="cssStyleClass">dataInputText</property>
      </properties>
    </widget>

    <!-- @deprecated since 5.9.2 - Use only routes of type 'graph'-->
    <widget name="conditional_step_value" type="template">
      <translated>true</translated>
      <fields>
        <field>condstepf:posOfChildStepToRunNext</field>
      </fields>
      <properties mode="any">
        <property name="required">true</property>
        <property name="template">
          /document_routing_widgets/conditional_folder_options_widget_template.xhtml
        </property>
      </properties>
    </widget>
    <widget name="listing_title_link_localized" type="listing_title_link">
      <labels>
        <label mode="any">label.content.header.title</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data</field>
        <field>data.ref</field>
      </fields>
      <properties mode="any">
        <property name="localize">true</property>
      </properties>
    </widget>
    <widget name="header_title_and_permlink_localized" type="title_and_permlink">
      <fields>
        <field></field>
      </fields>
      <labels>
        <label mode="any"></label>
      </labels>
      <properties mode="any">
        <property name="localize">true</property>
      </properties>
    </widget>
  </extension>

  <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
    point="layouts">
    <layout name="document_related_route">
      <templates>
        <template mode="any">/layouts/layout_summary_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>document_related_route</widget>
        </row>
      </rows>
    </layout>
    <layout name="document_routing_instance">
      <templates>
        <template mode="any">/layouts/layout_summary_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>participatingDocuments</widget>
        </row>
      </rows>
    </layout>

    <layout name="step_folder">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>execution_type</widget>
        </row>
      </rows>
    </layout>

    <!--@deprecated since 5.9.2, use only routes of type 'graph'  -->
    <layout name="conditional_step_folder">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>conditional_step_value</widget>
        </row>
      </rows>
    </layout>

    <layout name="summary_document_route_layout">
      <templates>
        <template mode="any">/layouts/layout_summary_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>summary_current_document_description</widget>
          <widget>summary_current_document_view</widget>
          <widget>summary_current_document_dublincore</widget>
        </row>
        <row>
          <widget>summary_current_document_lc_and_version</widget>
          <widget>summary_current_route_actions_lock</widget>
        </row>
      </rows>
    </layout>

    <layout name="summary_document_route_action">
      <templates>
        <template mode="any">/layouts/layout_summary_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>summary_document_route_action</widget>
        </row>
      </rows>
    </layout>

    <layout name="document_route_header">
      <!--@since 5.7.1 -->
      <templates>
        <template mode="any">/layouts/layout_div_template.xhtml</template>
      </templates>
      <rows>
        <row>
          <widget>header_title_and_permlink_localized</widget>
        </row>
        <row>
          <widget>header_description</widget>
        </row>
      </rows>
    </layout>

    <layout name="document_route_models_listing_ajax">
      <!--@since 5.7.1 -->
      <templates>
        <template mode="any">
          /layouts/layout_listing_ajax_template.xhtml
        </template>
        <template mode="csv">
          /layouts/layout_listing_csv_template.xhtml
        </template>
        <template mode="pdf">
          /layouts/layout_listing_pdf_template.xhtml
        </template>
      </templates>
      <properties mode="any">
        <property name="showListingHeader">true</property>
        <property name="showRowEvenOddClass">true</property>
        <property name="display">table</property>
      </properties>
      <columns>
        <column>
          <properties mode="any">
            <property name="isListingSelectionBoxWithCurrentDocument">
              true
            </property>
            <property name="useFirstWidgetLabelAsColumnHeader">false</property>
            <property name="columnStyleClass">iconColumn</property>
          </properties>
          <properties mode="csv">
            <property name="isHidden">true</property>
          </properties>
          <properties mode="pdf">
            <property name="isHidden">true</property>
          </properties>
          <widget>listing_ajax_selection_box_with_current_document</widget>
        </column>
        <column>
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">false</property>
            <property name="columnStyleClass">iconColumn</property>
          </properties>
          <widget>listing_icon_type</widget>
        </column>
        <column>
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">true</property>
            <property name="sortPropertyName">dc:title</property>
          </properties>
          <widget>listing_title_link_localized</widget>
        </column>
        <column>
          <properties mode="any">
            <property name="columnStyleClass">iconColumn</property>
          </properties>
          <properties mode="csv">
            <property name="isHidden">true</property>
          </properties>
          <properties mode="pdf">
            <property name="isHidden">true</property>
          </properties>
          <widget>listing_lock_icon</widget>
        </column>
        <column>
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">true</property>
            <property name="sortPropertyName">dc:modified</property>
          </properties>
          <widget>listing_modification_date</widget>
        </column>
        <column>
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">true</property>
            <property name="sortPropertyName">dc:lastContributor</property>
          </properties>
          <widget>listing_last_contributor</widget>
        </column>
        <column>
          <properties mode="any">
            <property name="columnStyleClass">iconColumn</property>
            <property name="useFirstWidgetLabelAsColumnHeader">true</property>
            <property name="isSortable">false</property>
          </properties>
          <widget>listing_version</widget>
        </column>
        <column>
          <properties mode="any">
            <property name="useFirstWidgetLabelAsColumnHeader">true</property>
            <property name="sortPropertyName">
              ecm:currentLifeCycleState
            </property>
          </properties>
          <widget>listing_lifecycle</widget>
        </column>
        <column>
          <properties mode="any">
            <property name="columnStyleClass">iconColumn</property>
          </properties>
          <properties mode="csv">
            <property name="isHidden">true</property>
          </properties>
          <properties mode="pdf">
            <property name="isHidden">true</property>
          </properties>
          <widget>listing_livedit_link</widget>
        </column>
      </columns>
    </layout>
  </extension>
</component>